.header{
    background: #f8f8f8;
    /* height: auto; */
    /* padding-bottom: 20px; */
    width: 100%;
    height: 65px;
    /* box-shadow: 0 1px 3px rgba(26, 26, 26, 0.15); */
    /* border-bottom: 1px solid #ddd; */
    /* margin-bottom: 20px; */
}
.navbar{
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.navbar-nav{
  margin-top: 13px;
}
.navbar.navbar-default{
  margin-bottom: 0;
  position: relative;
  z-index: 99999;
}
.navbar-nav i{
  padding: 0 3px;
}
.navbar-brand{  
  display: block;
  /* font-size: 25px; */
  color: #000 !important;
  /* margin: 15px 0; */
  /* color: white; */
  /* text-shadow: 0 0 10px #000; */
  /* letter-spacing: 5px; */
  font-size: 22px;
  /* font-weight: bold; */
  font-family: Meiryo, arial, helvetica, sans-serif !important;
}

.navbar-header,.nav>li>a {
  padding: 7px 15px;
}

.navbar-default .navbar-nav > li{
  margin: 0 5px;
}

/* .navbar-default .navbar-nav >li >a:hover,.navbar-default .navbar-nav >li >a:focus{
  border-radius: 5px;
} */
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{
  border-radius: 5px;
}

.navbar-default .dropdown.open a{
  border-radius: 5px;
}



/* 搜索样式 */
div.search{
  border-top: 1px solid #fffbfb;
  position: absolute;
  top: 0;
  background-color: rgba(255,255,255,0.95);
  z-index: -999;
  height: 70px;
  width: 100%;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.15);
  /* opacity: 1; */
  /* border-bottom: 1px solid #ddd; */
  opacity: 0;
  text-align: center;
}

div.search.show{
    opacity: 1;
    top: 65px;
    z-index: 999;
}

div.search form {
  /* margin-left: calc(50% - 200px); */
  overflow: hidden;
  display: inline-block;
  width: 60%;
}
div.search form #keyword{
  margin-top: 15px;
  outline: none;
  box-shadow:none;
  border-radius: 0;
  height: 40px;
  width: 85%;
  display: block;
  float: left;
  border: 1px solid #f0f0f0;
}

div.search form .searchBtn{
  float: left;
  margin-top: 15px;
  margin-left: -1px;
  padding: 0 2px;
  height: 40px;
  width: 15%;
  line-height: 40px;
  background-color: #5FB878;
  color: #fff;
  text-decoration: none;
  display: block;
}

/* @media (min-width: 768px){
 .navbar-nav>li>a {
    padding-top: 0; 
    padding-bottom: 0;
  }
} */


@media(max-width:768px){
  #showSearch{
    display: none;
  }
  div.search{
    position: static;
    opacity: 1;
    /* top: 65px; */
    /* z-index: 999; */
  }
  .navbar-default .navbar-nav li{
    margin: 5px 0;
  }
  .navbar-nav i{
    display: none;
  }
  .navbar-nav i{
    display: none;
  }
  .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{
    border-radius: 0;
  }
  .navbar-default .dropdown.open a{
    border-radius: 0;
  }
  .navbar-default .navbar-nav li a{
    padding: 10px 10px;
  }
}